-
Notifications
You must be signed in to change notification settings - Fork 619
Make rows in contract table actual links to allow opening in new tab with cmd click #5142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make rows in contract table actual links to allow opening in new tab with cmd click #5142
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @MananTank and the rest of your teammates on |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5142 +/- ##
=======================================
Coverage 45.43% 45.43%
=======================================
Files 1066 1066
Lines 55150 55150
Branches 3974 3974
=======================================
Hits 25055 25055
Misses 29403 29403
Partials 692 692
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
jnsdls
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge activity
|
…with cmd click (#5142) ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the `DeployedContractsPageHeader` and related components by improving the link handling for contract names and refining the UI elements in the contract table. ### Detailed summary - Updated `DeployedContractsPageHeader` to use a new `Button` import. - Added `linkOverlay` prop to `AsyncContractNameCell`. - Enhanced link styling in `AsyncContractNameCell` with conditional classes. - Passed `linkOverlay` prop when rendering `AsyncContractNameCell` in the contract table. - Simplified event handling in `ContractTableRow`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
7cbf028 to
7a1099b
Compare


Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on enhancing the
DeployedContractsPageHeaderand related components for better usability and design. It introduces new features and refines existing functionalities in the contract table, particularly regarding link overlays and styling.Detailed summary
DeployedContractsPageHeaderto use a newButtonimport.AsyncContractNameCellto accept a newlinkOverlayprop.Linkcomponent inAsyncContractNameCellto conditionally apply styles based onlinkOverlay.linkOverlayprop toAsyncContractNameCellin theContractTable.Buttoncomponents within theContractTable.useChainSlugimport fromdeployed-contracts.tsx.ContractTableRowto streamline event handling and styling.